.toast {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1300;


}


.toast_inner {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: calc(var(--overlay-z-index) + 1);
}

.toast,
.toast_inner {
    .toast_content {
        position: relative;
        z-index: 1400;
        -webkit-animation: scale-up-center 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
        animation: scale-up-center 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }
}

.toast_center {
    display: flex;
    justify-content: center;
    align-items: center;
}


@keyframes scale-up-center {
    0% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}



.toast_confirm {
    display: flex;
    width: 57.6vw;;
    border-radius: var(--m16);
    flex-direction: column;
    justify-content: space-between;
    font-size: var(--m11);
    background: rgba(248, 248, 248, 0.5);
    backdrop-filter: blur(6px);
    .title {
        flex: 1;

        div.content {
            padding: var(--m20) var(--m35) var(--m16);
        }

        div {

            font-style: normal;
            font-weight: 300;
            font-size: var(--m11);
            /* or 129% */
            display: flex;
            align-items: center;
            text-align: center;
            color: #0F0F10;
            font-family: Montserrat-Light;
        }

        position: relative;

        &::after {
            content: '';
            display: block;
            width: 100%;
            height: 1PX;
            bottom: 0;
            background-color: var(--line-gray);
            transform: scaleY(0.5);
        }
    }

    .btns {
        display: flex;
        height: 12.8vw;
        padding: 0 var(--m16);
        justify-content: space-between;
        .btn {
            display: flex;
            width: 23.466vw;
            height: 8.533vw;
            justify-content: center;
            align-items: center;
            font-family: Montserrat-Regular;
            border-radius: var(--m8);
            span {
                font-weight: 400;
                font-size: var(--m12);
                text-align: center;
                border-radius: var(--m8);
                /* Dark */

                color: #121727;

            }
            &.cancel {
                border: var(--m1) solid #4F48E2;
                span {
                    color: #4F48E2;
                }
            }
            &.submit {
                background-color: #4F48E2;
                span {
                    color: #fff;
                }
            }
        }
    }
}




.contain {
    display: flex;
    width: 57.6vw;
    padding: var(--m30) var(--m15);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
    border-radius: var(--m20);
    align-items: center;
    justify-content: center;
    text-align: center;
}

.success {
    width: var(--m16);
    height: var(--m16);
}

.text {
    font-size: 4vw;
    font-family: Montserrat-Regular;
    font-weight: 400;
    color: #121727;
}

.errContain {
    display: flex;
    padding: var(--m30) var(--m15);
    width: 57.6vw;
    color: #CF3F3F;
    background: rgba(248, 248, 248, 1);
    border-radius: var(--m20);
    box-shadow: 0 0 3.2vw 0 rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: left;
    align-items: center;
    justify-content: center;
}

.err {
    width: var(--m16);
    height: var(--m16);
    margin-right: var(--m4);
}

.errText {
    font-size: var(--m11);
    font-family: Montserrat-Regular;
    font-weight: 500;
    color: #CF3F3F;
    text-align: left;
}


.copied {
    /* Note: backdrop-filter has minimal browser support */
    font-family: Montserrat-Regular;
    border-radius: var(--m20);
    width: 57.6vw;
    padding: var(--m30) var(--m15);
    font-family: Montserrat-Regular;
    font-style: normal;
    font-weight: 500;
    font-size: var(--m11);
    display: flex;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 var(--m20) rgba(0, 0, 0, 0.12);
    background: rgba(248, 248, 248, 0.5);
    backdrop-filter: blur(6px);
    /* Color 1 */

    color: #4F48E2;
    display: flex;
    justify-content: center;
    align-items: center;
    &::before {
        display: inline-block;
        content: ' ';
        margin: 0 var(--m4) 0 0;
        width: var(--m16);
        height: var(--m16);
        background: url(../../assets/icons/success.svg) no-repeat 50% / cover;
    }
}


.common {
    width: 57.6vw;
    padding: var(--m30) var(--m15);
    border: .2667vw solid var(--input-border);
    background: var(--toast-bg);
    backdrop-filter: blur(7PX);
    border-radius: var(--m20);
    font-weight: 400;
    font-size: var(--m11);
    font-family: Montserrat-Regular;
    text-align: center;
    color: var(--toast-text);
    box-sizing: border-box;
}


@media screen and (min-width:1280px) {


    .toast_confirm {
        width: 270px;
        border-radius: var(--pc16);
        font-size: var(--pc11);

        .title {


            div.content {
                padding: 35.0935px 48.88px;
            }

            div {


                font-size: var(--pc11);

            }



        }

        .btns {

            height: 60.16px;
            padding: 0 var(--pc16);
            .btn {
                cursor: pointer;
                width: 110px;
                height: 40px;
                border-radius: var(--pc8);
                span {
                    font-size: var(--pc12);
                    border-radius: var(--pc8);
                }
                &.cancel {
                    border: 1px solid #4F48E2;
                }
            }
        }
    }

    .page {
        // width: 350px;
    }



    .contain {

        width: 270px;
        padding: var(--pc30) var(--pc15);
        min-height: 45.12px;

        border-radius: var(--pc20);

    }

    .success {
        width: var(--pc16);
        height: var(--pc16);
    }

    .text {
        font-size: 18.8px;

    }

    .errContain {
        padding: var(--pc30) var(--pc15);
        width: 270px;
        font-size: 18.8px;
        border-radius: var(--pc20);

    }

    .contain,
    .errContain {
        margin: 7.52px;
    }

    .err {
        width: var(--pc16);
        height: var(--pc16);
        margin-right: var(--pc4);
    }

    .errText {
        font-size: var(--pc11);

    }


    .copied {
        box-shadow: 0 0 var(--pc20) rgba(0, 0, 0, 0.12);
        border-radius: var(--pc20);
        width: 270px;
        padding: var(--pc30) var(--pc15);
        font-size: var(--pc11);
        &::before {
            margin: 0 var(--pc4) 0 0;
            width: var(--pc16);
            height: var(--pc16);
        }
    }


    .common {
        width: 270px;
        padding: var(--pc30) var(--pc15);
        border: 1.2535px solid var(--input-border);

        border-radius: var(--pc20);

        font-size: var(--pc11);
    }
}